<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:fragment="header(title, link, style)">
    <th:block th:if="${title == null}">
        <title>陪护服务管理系统后台</title>
    </th:block>
    <th:block th:if="${title != null}">
        <title th:replace="${title}">title</title>
    </th:block>

    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=0.4">

    <link rel="shortcut icon" th:href="@{/mo-favicon.ico}" type="image/x-icon">
    <link rel="stylesheet" th:href="@{/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css}"  media="all">

    <link rel="stylesheet" th:href="@{/js/plugins/layui/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/theme/css/iconfont.css}" media="all">
    <link rel="stylesheet" th:href="@{/theme/css/console.css}" media="all">
    <link rel="stylesheet" th:href="@{/extra/style.css}" media="all">

    <link rel="stylesheet" th:href="@{/js/plugins/element-ui/index.css}">

    <link rel="stylesheet" th:href="@{/js/plugins/light/css/my_theme_light.css}"><!--自定义-->

<!--    <script th:src="@{/js/plugins/jquery/pace.min.js}"></script>-->
<!--    <script src="/admin/api.plugs/script"></script>-->

    <script>
        window.taDebug = false;
        window.taAdmin = 'http://127.0.0.1:8080';
        window.taEditor = 'auto';
    </script>

    <th:block th:if="${link != null}">
        <th:block th:replace="${link}"></th:block>
    </th:block>

    <th:block th:if="${style != null}">
        <th:block th:replace="${style}"></th:block>
    </th:block>
</head>

<th:block th:fragment="script">
    <!--        <script th:src="@{/lib/layui-v2.3.0/layui.js}" charset="utf-8"></script>-->
    <script th:src="@{/js/plugins/layui/layui.js}" charset="utf-8"></script>
    <script th:src="@{/js/plugins/require/require.js}" charset="utf-8"></script>
    <script th:src="@{/js/admin.js}" charset="utf-8"></script>
<!--    <script th:src="@{/js/main.js}" charset="utf-8"></script>-->
</th:block>

</html>